package com.sf.fy.uav.controller;

import com.sf.fy.uav.entity.ErrandOrder;
import com.sf.fy.uav.service.IErrandOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;

/**
 * <p>
 * 跑腿订单 前端控制器
 * </p>
 *
 * @author LTQ
 * @since 2024-09-12
 */
@Controller
@RequestMapping("/applet/errandOrder")
public class ErrandOrderController {

    @Autowired
    private IErrandOrderService iErrandOrderService;

    public ErrandOrder getByOrderSn(String orderSn, Byte type) {
        return iErrandOrderService.getByOrderSn(orderSn, type);
    }

}
